| 1. | Composite pattern visitor pattern 用visitor扩展类层次结构 |
| 2. | All bytecode scanning detectors are based on the visitor pattern , which findbugs implements 所有字节码扫描检测器都基于visitor模式, findbugs实现了这个模式。 |
| 3. | I ve found that the most widely applicable are the composite and visitor patterns ) )中讨论的所有设计模式中,我发现可最广泛应用的是composite和visitor模式。 |
| 4. | Curried closures can be used to mimic the essential elements of the visitor pattern , as we showed in the Curry过的闭包可以用来模拟visitor模式的基本元素,正如在 |
| 5. | Another example of the usage of closures and higher order functions in an object - oriented world is the visitor pattern 另一个在面向对象世界中使用闭包和高阶函数的例子是visitor模式。 |
| 6. | As for the visitor pattern , much of the reason it is so widely applicable is the fact that it complements the composite pattern 至于visitor模式,它受到如此广泛应用的许多原因是它补充了composite模式。 |
| 7. | The idea behind the depth - first visitor pattern is as follows : most visitors that recursively descend down a data structure do so in a depth - first manner Depth - first visitor模式的基本思想如下:大多数访问器都以深度优先的方式向下递归一个数据结构。 |
| 8. | Rather than manipulating bytecode instructions directly , asm uses a visitor pattern to process class data including instruction sequences as streams of events Asm并不直接操纵字节码指令,而是采用visitor模式把类数据(包括指令序列)当成事件流来处理。 |
| 9. | This said , visitors are best used in cases where the composite hierarchy is not expected to change although there are ways around this , such as the " extensible visitor pattern " 也就是说,当不期望更改复合层次结构时,使用访问器是最佳的选择(虽然对于它还有一些方法可用,如“ extensible visitor模式” ) 。 |
| 10. | Asm is a java bytecode manipulation framework that uses the visitor pattern to enable you to transform class files , in much the same way that sax events can be used to traverse and transform an xml document Asm是个java字节码操纵框架,使用访客模式实现对类文件的转换,使用的方式非常像使用sax事件遍历和转换xml文档那样。 |